const DefaultHeight = 26

// Header Back
export const HeaderBack = (navigation) => {
  return {
    type: 'ionicon',
    icon: 'chevron-back',
    color: '#fff',
    onPress: () => navigation.goBack()
  }
}

// Header Title
export const HeaderTitle = (title) => {
  return {
    text: title,
    style: {
      color: '#fff',
      fontSize: 16,
      // fontWeight: 'bold',
      // backgroundColor: '#FFCCFF',
      height: DefaultHeight,
      lineHeight: DefaultHeight
    }
  }
}
